ACPI/APEI: Unlock apei_iomaps_lock on error path
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Mar 2013 08:43:38 +0000 (09:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Mar 2013 08:43:38 +0000 (09:43 +0100)
commit0611689d9153227831979c7bafe594214b8505a3
treeb2cbb2ad5c5ea742eeba72a924323b1505511d59
parentda4ae08504d12290c5193d6c2cd33c20a41e1b0d
ACPI/APEI: Unlock apei_iomaps_lock on error path

This causes deadlocks during early boot on hardware with broken/buggy
APEI implementations, such as a Dell Poweredge 2950 with the latest
currently available BIOS.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Don't use goto or another special error path, as handling the error
case in normal flow is quite simple.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/apei/apei-io.c